﻿#if USE_UNI_LUA
using LuaAPI = UniLua.Lua;
using RealStatePtr = UniLua.ILuaState;
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
#else
using LuaAPI = XLua.LuaDLL.Lua;
using RealStatePtr = System.IntPtr;
using LuaCSFunction = XLuaBase.lua_CSFunction;
#endif

using XLua;
using System.Collections.Generic;


namespace XLua.CSObjectWrap
{
    using Utils = XLua.Utils;
    public class YoozooGameplayLibertyPlayerControllerPlayerVehicleBehaviourMgrWrap 
    {
        public static void __Register(RealStatePtr L)
        {
			ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			System.Type type = typeof(Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr);
			Utils.BeginObjectRegister(type, L, translator, 0, 8, 14, 14);
			
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "ClickDoor", _m_ClickDoor);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "StartExitCar", _m_StartExitCar);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "BreakNav2Door", _m_BreakNav2Door);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetCarEntity", _m_SetCarEntity);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "Nav2Door", _m_Nav2Door);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "EnterCarImmediately", _m_EnterCarImmediately);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "ExitCarImmediately", _m_ExitCarImmediately);
			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SwitchPlayerCarEntityCollision", _m_SwitchPlayerCarEntityCollision);
			
			
			Utils.RegisterFunc(L, Utils.GETTER_IDX, "carEntity", _g_get_carEntity);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "nav2DoorDirection", _g_get_nav2DoorDirection);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "enterExitCarState", _g_get_enterExitCarState);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "canGrabCar", _g_get_canGrabCar);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "emptyCar_Left_DoorTime", _g_get_emptyCar_Left_DoorTime);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "leftNpcCar_Left_DoorTime", _g_get_leftNpcCar_Left_DoorTime);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "emptyCar_Right_DoorTime", _g_get_emptyCar_Right_DoorTime);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "leftNpcCar_Right_DoorTime", _g_get_leftNpcCar_Right_DoorTime);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "exit_openLeftDoorDelayTime", _g_get_exit_openLeftDoorDelayTime);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "exit_colseLeftDoorDelayTime", _g_get_exit_colseLeftDoorDelayTime);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "closeDoorSoundDelayTime", _g_get_closeDoorSoundDelayTime);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "leftNpcCar_Left_GrabNpc", _g_get_leftNpcCar_Left_GrabNpc);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "leftNpcCar_Right_GrabNpc", _g_get_leftNpcCar_Right_GrabNpc);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "vehicleBoxColliderOffset", _g_get_vehicleBoxColliderOffset);
            
			Utils.RegisterFunc(L, Utils.SETTER_IDX, "carEntity", _s_set_carEntity);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "nav2DoorDirection", _s_set_nav2DoorDirection);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "enterExitCarState", _s_set_enterExitCarState);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "canGrabCar", _s_set_canGrabCar);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "emptyCar_Left_DoorTime", _s_set_emptyCar_Left_DoorTime);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "leftNpcCar_Left_DoorTime", _s_set_leftNpcCar_Left_DoorTime);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "emptyCar_Right_DoorTime", _s_set_emptyCar_Right_DoorTime);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "leftNpcCar_Right_DoorTime", _s_set_leftNpcCar_Right_DoorTime);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "exit_openLeftDoorDelayTime", _s_set_exit_openLeftDoorDelayTime);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "exit_colseLeftDoorDelayTime", _s_set_exit_colseLeftDoorDelayTime);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "closeDoorSoundDelayTime", _s_set_closeDoorSoundDelayTime);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "leftNpcCar_Left_GrabNpc", _s_set_leftNpcCar_Left_GrabNpc);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "leftNpcCar_Right_GrabNpc", _s_set_leftNpcCar_Right_GrabNpc);
            Utils.RegisterFunc(L, Utils.SETTER_IDX, "vehicleBoxColliderOffset", _s_set_vehicleBoxColliderOffset);
            
			
			Utils.EndObjectRegister(type, L, translator, null, null,
			    null, null, null);

		    Utils.BeginClassRegister(type, L, __CreateInstance, 1, 0, 0);
			
			
            
			
			
			
            Utils.RegisterFunc(L, Utils.CLS_IDX, "New", __CreateInstanceNew);
			Utils.EndClassRegister(type, L, translator);
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int __CreateInstance(RealStatePtr L)
        {
            
			try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
				if(LuaAPI.lua_gettop(L) == 1)
				{
					
					var gen_ret = new Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr();
					translator.Push(L, gen_ret);
                    
					return 1;
				}
				
			}
			catch(System.Exception gen_e) {
				return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
			}
            return LuaAPI.luaL_error(L, "invalid arguments to Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr constructor!");
            
        }

        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int __CreateInstanceNew(RealStatePtr L)
        {
            
			try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
				if(LuaAPI.lua_gettop(L) == 0)
				{
					
					var gen_ret = new Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr();
					translator.Push(L, gen_ret);
                    
					return 1;
				}
				
			}
			catch(System.Exception gen_e) {
				return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
			}
            return LuaAPI.luaL_error(L, "invalid arguments to Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr constructor!");
            
        }

        
		
        
		
        
        
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_ClickDoor(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                    gen_to_be_invoked.ClickDoor(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_StartExitCar(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                    gen_to_be_invoked.StartExitCar(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_BreakNav2Door(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    
                    gen_to_be_invoked.BreakNav2Door(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SetCarEntity(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    Yoozoo.Gameplay.Liberty.AI.CarEntity _entity = (Yoozoo.Gameplay.Liberty.AI.CarEntity)translator.GetObject(L, 2, typeof(Yoozoo.Gameplay.Liberty.AI.CarEntity));
                    
                    gen_to_be_invoked.SetCarEntity( _entity );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_Nav2Door(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    Yoozoo.Gameplay.Liberty.PlayerController.CarDoorDirection _doorDirection;translator.Get(L, 2, out _doorDirection);
                    
                    gen_to_be_invoked.Nav2Door( _doorDirection );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_EnterCarImmediately(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 3&& translator.Assignable<Yoozoo.Gameplay.Liberty.AI.CarEntity>(L, 2)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 3)) 
                {
                    Yoozoo.Gameplay.Liberty.AI.CarEntity _entity = (Yoozoo.Gameplay.Liberty.AI.CarEntity)translator.GetObject(L, 2, typeof(Yoozoo.Gameplay.Liberty.AI.CarEntity));
                    bool _needResetController = LuaAPI.lua_toboolean(L, 3);
                    
                    gen_to_be_invoked.EnterCarImmediately( _entity, _needResetController );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 2&& translator.Assignable<Yoozoo.Gameplay.Liberty.AI.CarEntity>(L, 2)) 
                {
                    Yoozoo.Gameplay.Liberty.AI.CarEntity _entity = (Yoozoo.Gameplay.Liberty.AI.CarEntity)translator.GetObject(L, 2, typeof(Yoozoo.Gameplay.Liberty.AI.CarEntity));
                    
                    gen_to_be_invoked.EnterCarImmediately( _entity );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr.EnterCarImmediately!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_ExitCarImmediately(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr)translator.FastGetCSObj(L, 1);
            
            
			    int gen_param_count = LuaAPI.lua_gettop(L);
            
                if(gen_param_count == 2&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 2)) 
                {
                    bool _needRecycle = LuaAPI.lua_toboolean(L, 2);
                    
                    gen_to_be_invoked.ExitCarImmediately( _needRecycle );
                    
                    
                    
                    return 0;
                }
                if(gen_param_count == 1) 
                {
                    
                    gen_to_be_invoked.ExitCarImmediately(  );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr.ExitCarImmediately!");
            
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_SwitchPlayerCarEntityCollision(RealStatePtr L)
        {
		    try {
            
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
            
            
                Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr)translator.FastGetCSObj(L, 1);
            
            
                
                {
                    Yoozoo.Gameplay.Liberty.AI.CarEntity _ce = (Yoozoo.Gameplay.Liberty.AI.CarEntity)translator.GetObject(L, 2, typeof(Yoozoo.Gameplay.Liberty.AI.CarEntity));
                    bool _ignore = LuaAPI.lua_toboolean(L, 3);
                    
                    gen_to_be_invoked.SwitchPlayerCarEntityCollision( _ce, _ignore );
                    
                    
                    
                    return 0;
                }
                
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            
        }
        
        
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_carEntity(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.carEntity);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_nav2DoorDirection(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.nav2DoorDirection);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_enterExitCarState(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr)translator.FastGetCSObj(L, 1);
                translator.PushYoozooGameplayLibertyPlayerControllerEnterExitCarState(L, gen_to_be_invoked.enterExitCarState);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_canGrabCar(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushboolean(L, gen_to_be_invoked.canGrabCar);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_emptyCar_Left_DoorTime(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.emptyCar_Left_DoorTime);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_leftNpcCar_Left_DoorTime(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.leftNpcCar_Left_DoorTime);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_emptyCar_Right_DoorTime(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.emptyCar_Right_DoorTime);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_leftNpcCar_Right_DoorTime(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.leftNpcCar_Right_DoorTime);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_exit_openLeftDoorDelayTime(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushnumber(L, gen_to_be_invoked.exit_openLeftDoorDelayTime);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_exit_colseLeftDoorDelayTime(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushnumber(L, gen_to_be_invoked.exit_colseLeftDoorDelayTime);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_closeDoorSoundDelayTime(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushnumber(L, gen_to_be_invoked.closeDoorSoundDelayTime);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_leftNpcCar_Left_GrabNpc(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.leftNpcCar_Left_GrabNpc);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_leftNpcCar_Right_GrabNpc(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr)translator.FastGetCSObj(L, 1);
                translator.Push(L, gen_to_be_invoked.leftNpcCar_Right_GrabNpc);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_vehicleBoxColliderOffset(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushnumber(L, gen_to_be_invoked.vehicleBoxColliderOffset);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 1;
        }
        
        
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_carEntity(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.carEntity = (Yoozoo.Gameplay.Liberty.AI.CarEntity)translator.GetObject(L, 2, typeof(Yoozoo.Gameplay.Liberty.AI.CarEntity));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_nav2DoorDirection(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr)translator.FastGetCSObj(L, 1);
                Yoozoo.Gameplay.Liberty.PlayerController.CarDoorDirection gen_value;translator.Get(L, 2, out gen_value);
				gen_to_be_invoked.nav2DoorDirection = gen_value;
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_enterExitCarState(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr)translator.FastGetCSObj(L, 1);
                Yoozoo.Gameplay.Liberty.PlayerController.EnterExitCarState gen_value;translator.Get(L, 2, out gen_value);
				gen_to_be_invoked.enterExitCarState = gen_value;
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_canGrabCar(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.canGrabCar = LuaAPI.lua_toboolean(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_emptyCar_Left_DoorTime(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.emptyCar_Left_DoorTime = (Yoozoo.Gameplay.Liberty.PlayerController.SwitchCarDoorTime)translator.GetObject(L, 2, typeof(Yoozoo.Gameplay.Liberty.PlayerController.SwitchCarDoorTime));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_leftNpcCar_Left_DoorTime(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.leftNpcCar_Left_DoorTime = (Yoozoo.Gameplay.Liberty.PlayerController.SwitchCarDoorTime)translator.GetObject(L, 2, typeof(Yoozoo.Gameplay.Liberty.PlayerController.SwitchCarDoorTime));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_emptyCar_Right_DoorTime(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.emptyCar_Right_DoorTime = (Yoozoo.Gameplay.Liberty.PlayerController.SwitchCarDoorTime)translator.GetObject(L, 2, typeof(Yoozoo.Gameplay.Liberty.PlayerController.SwitchCarDoorTime));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_leftNpcCar_Right_DoorTime(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.leftNpcCar_Right_DoorTime = (Yoozoo.Gameplay.Liberty.PlayerController.SwitchCarDoorTime)translator.GetObject(L, 2, typeof(Yoozoo.Gameplay.Liberty.PlayerController.SwitchCarDoorTime));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_exit_openLeftDoorDelayTime(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.exit_openLeftDoorDelayTime = (float)LuaAPI.lua_tonumber(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_exit_colseLeftDoorDelayTime(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.exit_colseLeftDoorDelayTime = (float)LuaAPI.lua_tonumber(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_closeDoorSoundDelayTime(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.closeDoorSoundDelayTime = (float)LuaAPI.lua_tonumber(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_leftNpcCar_Left_GrabNpc(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.leftNpcCar_Left_GrabNpc = (Yoozoo.Gameplay.Liberty.PlayerController.GrabNpcBehaviors)translator.GetObject(L, 2, typeof(Yoozoo.Gameplay.Liberty.PlayerController.GrabNpcBehaviors));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_leftNpcCar_Right_GrabNpc(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.leftNpcCar_Right_GrabNpc = (Yoozoo.Gameplay.Liberty.PlayerController.GrabNpcBehaviors)translator.GetObject(L, 2, typeof(Yoozoo.Gameplay.Liberty.PlayerController.GrabNpcBehaviors));
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _s_set_vehicleBoxColliderOffset(RealStatePtr L)
        {
		    try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
			
                Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr gen_to_be_invoked = (Yoozoo.Gameplay.Liberty.PlayerController.PlayerVehicleBehaviourMgr)translator.FastGetCSObj(L, 1);
                gen_to_be_invoked.vehicleBoxColliderOffset = (float)LuaAPI.lua_tonumber(L, 2);
            
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, $"c# exception: {gen_e}\n{Yoozoo.Framework.Managers.LuaManager.GetTraceBack()}");
            }
            return 0;
        }
        
		
		
		
		
    }
}
